package com.hospital.frontdesk.fronxiang.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

/**
 * 用户实体类
 */
public class FrontdeskCard {
    @TableId(type = IdType.AUTO)
    private Integer id;//卡号
    private String password;//密码
    private String idCard;//身份证号码
    private String name;//姓名
    private String sex;//性别
    private String phone;//电话号码
    private Integer age;//年龄
    private Double money;//余额

    public FrontdeskCard() {
    }

    public FrontdeskCard(String password, String idCard, String name, String sex, String phone, Integer age) {
        this.password = password;
        this.idCard = idCard;
        this.name = name;
        this.sex = sex;
        this.phone = phone;
        this.age = age;
    }

    public FrontdeskCard(String password, String idCard, String name, String sex, String phone, Integer age, Double money) {
        this.password = password;
        this.idCard = idCard;
        this.name = name;
        this.sex = sex;
        this.phone = phone;
        this.age = age;
        this.money = money;
    }

    public FrontdeskCard(Integer id, Double money) {
        this.id = id;
        this.money = money;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }
}